package e

const (
	HB = "xxbyw_hb"
	ADMIN = "xqy_admin"
)

var operatorMaps = map[string]map[string]string{
	HB: {"loginName": "xxbyw_hb", "password": "a5eGNsovdGY=", "rememberMe": "false"},
	ADMIN: {"loginName": "xqy_admin", "password": "a5eGNsovdGY=", "rememberMe": "false"},
}

func GetOperatorMap(o string) map[string]string {
	op, ok := operatorMaps[o]
	if ok {
		return op
	}

	return operatorMaps[HB]
}

var operatorIds = map[string]string{
	HB: "b763cad2fe2542018602d41fccc4ee39",
	ADMIN: "1B2C20B854FE4B588A87F4CABE6DEF6D",
}

func GetOperatorId(o string) string {
	id, ok := operatorIds[o]
	if ok {
		return id
	}

	return operatorIds[HB]
}
